package com.platform.api.bzproject.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.platform.api.bzproject.model.BzFavorite;
import com.platform.api.bzproject.vo.BzWallpaperVo;

import java.util.List;
import java.util.Map;

/**
 * @author guoyunfei on 2021/7/11 3:38
 * @className BzFavoriteMapper
 * @description TODO
 * @Version 1.0
 */
public interface BzFavoriteMapper extends BaseMapper<BzFavorite> {

    int deleteByWallpaperId(Map<String,Object> map);

    int selectCount(BzFavorite wallpaper);

    List<BzWallpaperVo> getMyData(BzWallpaperVo wallpaperVo);

    List<BzWallpaperVo> getMyDataNew(BzWallpaperVo wallpaperVo);

}
